From: Keir Fraser Date: Tue, 16 Oct 2007 16:40:22 +0000 (+0100) Subject: x86: Initialise INVLPG support to PTEs only for all CPUs, not just BP. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14847^2~36 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=c68c6c6b181a2f0f2e6fdb6ace65e9082d5319ce;p=xen.git x86: Initialise INVLPG support to PTEs only for all CPUs, not just BP. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c index c333ac36f2..a578a7b108 100644 --- a/xen/arch/x86/cpu/common.c +++ b/xen/arch/x86/cpu/common.c @@ -314,6 +314,7 @@ void __devinit identify_cpu(struct cpuinfo_x86 *c) c->x86_vendor_id[0] = '\0'; /* Unset */ c->x86_model_id[0] = '\0'; /* Unset */ c->x86_max_cores = 1; + c->invlpg_works_ok = 1; /* no superpage INVLPG by default */ c->x86_clflush_size = 0; memset(&c->x86_capability, 0, sizeof c->x86_capability);